package brickred.core
{
    import flash.external.ExternalInterface;

    public class Logger
    {
        public static function log(obj:*):void
        {
            if (ExternalInterface.available) {
                ExternalInterface.call("console.log", obj.toString());
            } else {
                trace(obj.toString());
            }
        }
    }
}

